package com.itheima.pattern.factory.factory_simple;

public class CoffeeStore {
    public Coffee orderCoffee(String coffeeType) {
      SimpleCoffeeFactory coffeeFactory = new SimpleCoffeeFactory();
        Coffee coffee = coffeeFactory.createcoffee(coffeeType);
        coffee.addsugar();
        coffee.addmilk();
        return coffee;
    }
}
